package com.dongjiantong.quarantine.mapper;



import com.dongjiantong.mybatis.MyMapper;
import com.dongjiantong.quarantine.model.DjtButcherReportCerts;

import java.util.List;
import java.util.Map;


public interface DjtButcherReportCertsMapper extends MyMapper<DjtButcherReportCerts>{

    /**
     * 根据屠宰检疫的单据id统计证的数量
     * @param map 参数
     * @return Long
     */
    Long countByReportId(Map<String, Object> map);

    /**
     * 查询屠宰检疫的证
     * @param map 参数
     * @return List<DjtButcherReportCerts>
     */
    List<DjtButcherReportCerts> findCertsByReportId(Map<String, Object> map);
}